﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Kokomo.Mirror.Ia32;
using Kokomo.Lexical.Coding;

namespace Kokomo.PeInspector
{
	public class NativeProcedureDecompilation : Decompilation
	{
		public NativeProcedureDecompilation(
			NativeProcedureInfo procedure,
			IEnumerable<Statement> statements
			)
			: base(statements)
		{
			if (procedure == null) throw new ArgumentNullException("procedure");

			this.Procedure = procedure;
		}

		public NativeProcedureInfo Procedure { get; private set; }
	}
}
